﻿using System.ComponentModel.Composition;
using System.Windows;

namespace MediaAssistant.Controls.PlayerControl
{
    [Export(typeof(IPlayerControlView))]
    public partial class PlayerControlView:IPlayerControlView
    {
        public PlayerControlView()
        {
            InitializeComponent();
        }
        private void HandleToolButtonClocked(object sender, RoutedEventArgs e)
        {
            ShuffleMenu.PlacementTarget = (UIElement)sender;
            ShuffleMenu.IsOpen = true;
        }
    }
}
